package com.kaifamiao.inherit;

public class TestCar {
    public static void main(String[] args) {
        Car c = new Car();
        c.locator = "北斗定位终端";
        c.shelf = "金属架子";
        c.wheel = "有轮胎的轮子";
        c.engine = "东方红";
        System.out.println( "引擎: " + c.engine );
        c.move();

    }
}
